// zh.js
export default {
  common: {
    inputPlaceholder: '请输入',
    selectPlaceholder: '请选择',
    search: '查询',
    view: '查看',
    clear: '清空',
    edit: '编辑',
    remove: '删除',
    optional: '操作',
    add: '新增',
    importFile: '导入',
    exportFile: '导出',
    batchDelete: '批量删除',
    deleteTip: '确定删除选中数据？',
    deleteTreeTip: '选中菜单存在子菜单无法删除，确定删除选中数据？',
    operateSuccess: '操作成功',
    chooseDeleteItem: '请选择需要删除的数据项',
    permissionAssign: '权限分配',
    createTime: '创建时间',
    updateTime: '修改时间',
    status: '状态',
    deploy: '部署',
    manageOptions: '管理配置项',
    save: '保存',
    saveSuccess: '保存成功',
    saveFailed: '保存失败',
    deleteSuccess: '删除成功',
    deleteFailed: '删除失败',
    batchDeleteSuccess: '批量删除成功',
    batchDeleteFailed: '批量删除失败',
    importSuccess: '导入成功',
    importFailed: '导入失败',
    exportSuccess: '导出成功',
    exportFailed: '导出失败',
    downloadSuccess: '下载成功',
    downloadFailed: '下载失败',
    uploadSuccess: '上传成功',
    confirm: '确定',
    close: '关闭',
    cancel: '取消'
  },
  login: {
    login: '登录',
    username: '用户名',
    password: '密码',
    captcha: '验证码',
    usernameInputPlaceholder: '请输入用户名',
    passwordInputPlaceholder: '请输入密码',
    captchaInputPlaceholder: '请输入验证码',
    btn: '登录',
    passwordInputLengthError: '密码字符数必须在6到32位',
    logout: '退出',
    loginSuccess: '登录成功',
    logoutSuccess: '退出成功'
  },
  user: {
    columns: {
      username: '用户名',
      realName: '姓名',
      nickName: '昵称',
      email: '电子邮件',
      mobileNo: '手机号码',
      createTime: '创建时间',
      updateTime: '修改时间',
      expirationTime: '过期时间',
      descn: '描述',
      status: '状态',
      roles: '角色'
    }
  },
  role: {
    columns: {
      code: '编码',
      name: '名称',
      type: '类型',
      descn: '描述'
    }
  },
  menu: {
    columns: {
      parentId: '父级菜单',
      title: '名称',
      icon: '图标',
      redirectUrl: '重定向路径',
      code: '编码',
      path: '路径',
      component: '组件',
      hidden: '是否隐藏',
      activeMenu: '聚焦菜单',
      type: '类型',
      status: '状态',
      sortNo: '排序'
    }
  },
  dict: {
    columns: {
      dictName: '字典名称',
      dictType: '字典类型',
      remark: '备注',
      dictItemLabel: '字典项标签',
      dictItemValue: '字典项值',
      dictDefault: '默认值',
      dictSort: '排序'
    },
    actions: {
      manageDictItem: '管理字典项'
    }
  },
  config: {
    columns: {
      name: '配置名称',
      code: '配置编码',
      value: '配置值',
      comments: '备注'
    }
  },
  code: {
    columns: {
      name: '配置名称',
      code: '配置编码',
      comments: '备注',
      pid: '父级编码'
    }
  },
  workflow: {
    list: '工作流管理',
    definition: '流程定义管理',
    instance: '流程实例管理',
    task: '任务管理',
    history: '历史管理',
    processDefinition: {
      title: '流程定义管理',
      columns: {
        key: '流程标识',
        processDefinitionName: '流程定义名称',
        version: '版本号',
        source: '来源',
        resourceName: '资源文件',
        deploymentTime: '部署时间',
        processDefinitionKey: '流程定义标识',
        businessKey: '业务标识',
        variables: '流程变量'
      },
      actions: {
        start: '启动流程',
        view: '查看流程图',
        download: '下载流程文件',
        delete: '删除流程',
        import: '导入流程',
        batchDelete: '批量删除'
      },
      messages: {
        importSuccess: '流程导入成功',
        importFailed: '流程导入失败',
        downloadFailed: '流程文件下载失败',
        viewFailed: '流程图加载失败',
        deleteSuccess: '流程删除成功',
        deleteFailed: '流程删除失败',
        batchDeleteSuccess: '批量删除成功',
        batchDeleteFailed: '批量删除失败'
      }
    },
    processInstance: {
      columns: {
        id: '流程实例ID',
        processInstanceId: '流程实例ID',
        activityInstanceId: '活动定义ID',
        processDefinition: '流程定义',
        processDefinitionKey: '流程定义标识',
        businessKey: '业务标识',
        startTime: '开始时间',
        endTime: '结束时间',
        duration: '持续时间',
        activate: '已激活',
        suspend: '挂起中'
      },
      actions: {
        activate: '激活',
        suspend: '挂起'
      }
    }
  }
}
